"Rafal 'Raf256' Maj" <raf### [at] raf256 com> wrote...
>
> 1 - where can I find description of this format ?
> 2 - is there some function that is called whenever photon hit's an surface
> (during shooting photons) ?
Answers:
1. There is not documentation but you can view the source code. Look at the
funcitons savePhotonMap and loadPhotonMap in photons.cpp.
2. Yes. The funciton is called addSurfacePhoton and is also located in
photons.cpp. Media photons are added using a similar funciton,
addMediaPhoton, also in photons.cpp.
-Nathan
Post a reply to this message
|